package com.ruoyi.jeeplus.modules.screen.screen_mqtt_pv_data.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 存储MQTT光伏发电对象 mqtt_pv_data
 * 
 * @author ruoyi
 * @date 2024-11-07
 */
public class mqtt_pv_data extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，唯一标识每条记录 */
    private Long id;

    /** 充电桩编号 */
    @Excel(name = "充电桩编号")
    private String pointNumber;

    /** 充电站编号 */
    @Excel(name = "充电站编号")
    private String stationNumber;

    /** 所属地区 */
    @Excel(name = "所属地区")
    private String belongRegion;

    /** 两轮或四轮标识，2表示两轮，4表示四轮 */
    @Excel(name = "两轮或四轮标识，2表示两轮，4表示四轮")
    private Long twoFour;

    /** 精确到年月日时分秒的日期 */
    @Excel(name = "精确到年月日时分秒的日期")
    private String exactDate;

    /** 数据发送间隔时间 */
    @Excel(name = "数据发送间隔时间")
    private String intervalTime;

    /** 本地内存使用情况 */
    @Excel(name = "本地内存使用情况")
    private String memoryUsed;

    /** 预留字段，可能用于存储密钥或其他加密信息 */
    @Excel(name = "预留字段，可能用于存储密钥或其他加密信息")
    private String reserved;

    /** 上一小时的光伏发电量 */
    @Excel(name = "上一小时的光伏发电量")
    private BigDecimal pvGeneration;

    /** 总光伏发电量 */
    @Excel(name = "总光伏发电量")
    private BigDecimal totalGeneration;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPointNumber(String pointNumber) 
    {
        this.pointNumber = pointNumber;
    }

    public String getPointNumber() 
    {
        return pointNumber;
    }
    public void setStationNumber(String stationNumber) 
    {
        this.stationNumber = stationNumber;
    }

    public String getStationNumber() 
    {
        return stationNumber;
    }
    public void setBelongRegion(String belongRegion) 
    {
        this.belongRegion = belongRegion;
    }

    public String getBelongRegion() 
    {
        return belongRegion;
    }
    public void setTwoFour(Long twoFour) 
    {
        this.twoFour = twoFour;
    }

    public Long getTwoFour() 
    {
        return twoFour;
    }
    public void setExactDate(String exactDate) 
    {
        this.exactDate = exactDate;
    }

    public String getExactDate() 
    {
        return exactDate;
    }
    public void setIntervalTime(String intervalTime) 
    {
        this.intervalTime = intervalTime;
    }

    public String getIntervalTime() 
    {
        return intervalTime;
    }
    public void setMemoryUsed(String memoryUsed) 
    {
        this.memoryUsed = memoryUsed;
    }

    public String getMemoryUsed() 
    {
        return memoryUsed;
    }
    public void setReserved(String reserved) 
    {
        this.reserved = reserved;
    }

    public String getReserved() 
    {
        return reserved;
    }
    public void setPvGeneration(BigDecimal pvGeneration) 
    {
        this.pvGeneration = pvGeneration;
    }

    public BigDecimal getPvGeneration() 
    {
        return pvGeneration;
    }
    public void setTotalGeneration(BigDecimal totalGeneration) 
    {
        this.totalGeneration = totalGeneration;
    }

    public BigDecimal getTotalGeneration() 
    {
        return totalGeneration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pointNumber", getPointNumber())
            .append("stationNumber", getStationNumber())
            .append("belongRegion", getBelongRegion())
            .append("twoFour", getTwoFour())
            .append("exactDate", getExactDate())
            .append("intervalTime", getIntervalTime())
            .append("memoryUsed", getMemoryUsed())
            .append("reserved", getReserved())
            .append("pvGeneration", getPvGeneration())
            .append("totalGeneration", getTotalGeneration())
            .toString();
    }
}
